﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace ThridGroup.ERP.DTO
{
    public class UserRoleDto : EntityDto<int>
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [Required]
        public int UserId { get; set; }

        /// <summary>
        /// 角色ID列表
        /// </summary>
        [Required]
        public List<int> RoleId { get; set; } = new List<int>();
    }
}
